package com.wzz.sparkProject

import com.sun.deploy.config.Config
import com.typesafe.config.ConfigFactory

object ConfigUtils {

  //加载resources目录下的application.properties配置文件
  private val config = ConfigFactory.load()
  //根据配置文件中的key获取value
  val LOCAL_RUN:Boolean = config.getBoolean("local.run")

}